<?php
require_once '../lib/begin.php';

ob_start();

require_once "../lib/securimage/securimage.php";

$font_array = array("arial.ttf", "tahoma.ttf", "times.ttf", "verdana.ttf", "trebuc.ttf");
$font = "../lib/securimage/fonts/" . $font_array[rand(0, 4)];

$background = "../lib/securimage/background/bg" . rand(1, 3) . ".png";
ob_end_clean();

$captcha = new securimage();
$captcha->show($background, $font);
die;